package com.blockmeta.bbs.immodule.bean.databean;


import com.google.gson.annotations.SerializedName;

/**
 * Created by author on 2019/3/19.
 */

public class UserBean {

    /**
     * id : 236802
     * logo : 2368021527670975.35218.jpg
     * mobile : 13256780175
     * name : author
     * nick_name : author
     */

    @SerializedName(value = "id", alternate = {"uid"})
    private long id;
    @SerializedName(value = "logo",alternate = {"avatar"})
    private String logo;
    private String mobile;
    @SerializedName(value = "name",alternate = {"user_name"})
    private String name;
    private String nick_name;
    @SerializedName("group_id")
    private int groupId = 9;
    @SerializedName("individual_resume")
    private String individualResume;

    private String date = "";
    private boolean isFriend;
    private boolean hasBeenSentFriendRequest;

    public boolean isHasBeenSentFriendRequest() {
        return hasBeenSentFriendRequest;
    }

    public void setHasBeenSentFriendRequest(boolean hasBeenSentFriendRequest) {
        this.hasBeenSentFriendRequest = hasBeenSentFriendRequest;
    }

    public String getName() {
        return name;
    }

    public Integer getTodoId() {
        return todoId;
    }

    public void setTodoId(Integer todoId) {
        this.todoId = todoId;
    }

    private Integer todoId;

    public String getIndividualResume() {
        return individualResume;
    }

    public void setIndividualResume(String individualResume) {
        this.individualResume = individualResume;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNick_name() {
        return nick_name;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public boolean isFriend() {
        return isFriend;
    }

    public void setFriend(boolean friend) {
        isFriend = friend;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", logo='" + logo + '\'' +
                ", mobile='" + mobile + '\'' +
                ", name='" + name + '\'' +
                ", nick_name='" + nick_name + '\'' +
                ", groupId=" + groupId +
                ", date='" + date + '\'' +
                ", isFriend=" + isFriend +
                ", hasBeenSentFriendRequest=" + hasBeenSentFriendRequest +
                ", todoId=" + todoId +
                '}';
    }
}
